<style>
    .~container
    {
        color: blue;
    }
</style>

<div id="n" class="~container">0</div>
